package com.lovo.stock.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.stock.bean.GoodBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品持久层类
 */
@Mapper
public interface GoodMapper extends BaseMapper<GoodBean> {

    //void insertGoods(@Param("goodBeans") List<GoodBean> goodBeans);

    void addGoods(@Param("goodBean")GoodBean goodBean);

    void reduceGoods(@Param("goodBean")GoodBean goodBean);
}
